package bdqn.t09.service.impl;

import bdqn.t09.dao.AsSystemconfigMapper;
import bdqn.t09.pojo.AsSystemconfig;
import bdqn.t09.service.AsSystemconfigService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class AsSystemconfigServiceimpl implements AsSystemconfigService{
    @Resource
    private AsSystemconfigMapper asSystemconfigMapper;
    @Override
    public int deleteByPrimaryKey(Long id) {
        return asSystemconfigMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(AsSystemconfig record) {
        return asSystemconfigMapper.insert(record);
    }

    @Override
    public int insertSelective(AsSystemconfig record) {
        return asSystemconfigMapper.insertSelective(record);
    }

    @Override
    public AsSystemconfig selectByPrimaryKey(Long id) {
        return asSystemconfigMapper.selectByPrimaryKey(id);
    }

    @Override
    public List<AsSystemconfig> asSystemconfigList() {
        return asSystemconfigMapper.asSystemconfigList();
    }

    @Override
    public int updateByPrimaryKeySelective(AsSystemconfig record) {
        return asSystemconfigMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(AsSystemconfig record) {
        return asSystemconfigMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<AsSystemconfig> findConfigById(Integer configtype) {
        return asSystemconfigMapper.findConfigById(configtype);
    }

    @Override
    public AsSystemconfig selectByPrimaryName(String configTypeName) {
        return asSystemconfigMapper.selectByPrimaryName(configTypeName);
    }
}
